package com.lantosec.hmrp.modules.category.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.lantosec.hmrp.modules.category.entity.AssetsImage;
import com.lantosec.hmrp.modules.category.mapper.AssetsImageMapper;
import com.lantosec.hmrp.modules.category.service.IAssetsImageService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.context.annotation.Primary;
import lombok.extern.log4j.Log4j2;

import java.util.List;

/**
 * <p>
 * 资产图片上传记录 服务实现类
 * </p>
 *
 * @author AutoCode
 * @since 2020-04-06
 */
@Service
@Primary
@Log4j2
public class AssetsImageServiceImpl extends ServiceImpl<AssetsImageMapper, AssetsImage> implements IAssetsImageService {
    @Override
    public List<AssetsImage> queryHistoryPic(String assetsId) {
        List<AssetsImage> param = baseMapper.selectList(new QueryWrapper<AssetsImage>()
                .eq(String.valueOf(AssetsImage.ColName.assets_id), assetsId));

        return null;
    }
}
